package feizhou.consumerdemo.business.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import feign.Logger;

/**
 * 描述该类- JPA
 *
 * @author zhoufei
 * @class: BeanConfig
 * @date 2020/12/4 15:13
 * @Verson 1.0 -2020/12/4 15:13
 * @see
 */

@Configuration
public class FeignLoggerConfig {

    @Bean
    Logger.Level feignLoggerLevel() {
        // 记录所有请求和响应的明细
        return Logger.Level.FULL;
    }
}